package com.group4.datafactorybackend.entity.DTO;

import com.group4.datafactorybackend.common.DataFactoryConstantPool;
import com.group4.datafactorybackend.common.verify.QsmSpecifiedSelector;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;

/**
 * @author 卑微小峰
 * @date 2022/8/13
 * @description （批量）发布/停用接收参数实体类 TODO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BatchReleaseOrOutageDTO {

    /**
     * 更改状态
     */
    @QsmSpecifiedSelector(intValues = {DataFactoryConstantPool.HAVE_RELEASE, DataFactoryConstantPool.HAVE_DISABLE})
    private Integer status;

    /**
     * 需要更改状态的接口编号集合
     */
    private List<String> codeList;
}
